package com.dqy.twserver.cfg;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "tws")
public class TerritoryWarfareServerConfigProp {
    int port; //游戏服务端监听端口
    int maxRoomLimt; //游戏服务器可创建最大房间限制

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getMaxRoomLimt() {
        return maxRoomLimt;
    }

    public void setMaxRoomLimt(int maxRoomLimt) {
        this.maxRoomLimt = maxRoomLimt;
    }
}
